package cn.controlsys.common.constants;

/**
 * Created by yemao on 2017/7/21.
 *
 * @Author yemao
 * @Email yrmao9893@163.com
 * @Dec 网络请求code常量
 */
public interface HttpConstant {
    //请求成功
    int HTTP_CODE_SUCCESS = 200;

    //重复操作
    int HTTP_CODE_REPART=201;

    //操作失败
    int HTTP_CODE_SAVE_ERROR=202;

    //错误请求
    int HTTP_CODE_BAD_REQUEST = 400;

    //授权验证错误或失效
    int HTTP_CODE_AUTHORIZATION_VERIFICATION_ERROR = 401;
    //空指针
    int HTTP_CODE_EMPTY = 403;

    //读取失败或未查找到该资源
    int HTTP_CODE_REDE_ERROR = 404;

    //服务器错误，抛异常
    int HTTP_CODE_SERVER_ERROR = 500;

    //访问资源不存在
    int HTTP_CODE_GONE=410;

    //权限不足

    int HTTP_CODE_FORBIDDEN = 403;



}
